HELLOWORLD_VERSION = 1.0.1
HELLOWORLD_SITE = /home/zhang/buildroot/buildroot-2019.02.2/cqcet/helloworld
HELLOWORLD_SITE_METHOD = local
HELLOWORLD_INSTALL_TARGET = YES


define HELLOWORLD_INSTALL_TARGET_CMDS
	mkdir $(TARGET_DIR)/etc/network
        $(INSTALL) -D -m 600 $(@D)/network/interfaces $(TARGET_DIR)/etc/network
	$(INSTALL) -D -m 600 $(@D)/passwd $(TARGET_DIR)/etc/
	mkdir $(TARGET_DIR)/etc/ssh
	$(INSTALL) -D -m 600 $(@D)/ssh/* $(TARGET_DIR)/etc/ssh
	$(INSTALL) -D -m 600 $(@D)/profile $(TARGET_DIR)/etc/
	cp $(@D)/profile.d/ $(TARGET_DIR)/etc/ -rf
endef


$(eval $(generic-package))
